<template>
    <el-main class="resourcesBox1">
        <div class="resourcesContent">

            <div class="title">
                <label>教研资源</label>
            </div>

            <div>
                <ResourceCommon :isSupervise="false"></ResourceCommon>
            </div>
        </div>
    </el-main>
</template>

<script>
    import ResourceCommon from '@/components/resource/resourceCommon' 
    export default {
        components: {
            ResourceCommon
        },
        data() {
            return {
            }
        },
        methods: {
        },
    }
</script>

<style lang="scss">
    .resourcesBox1 {
        width: 81%;
        margin: 0 auto;

        .resourcesContent {
            background-color: white;
            box-sizing: border-box;
            padding: 10px;
            width: 100%;

            .title {
                font-size: 14px;
                color: #303133;
                text-align: left;
                box-sizing: border-box;
                padding-bottom: 8px;
                border-bottom: 2px solid #409EFF;
            }

            .typeWarp {
                list-style-type: none;
                margin-block-start: 0;
                margin-block-end: 0;
                padding-inline-start: 0;


                .typelist {
                    text-align: left;
                    margin-top: 20px;

                    .typeName {
                        display: inline-block;
                        width: 60px;
                        text-align: justify;
                        text-align-last: justify;
                        font-size: 14px;
                        color: #303133;
                    }

                    .elRadio>.el-radio-button__inner {
                        border: none;
                        margin-left: 10px;
                    }

                    .elRadio.el-radio-button:first-child>.el-radio-button__inner,
                    .elRadio.el-radio-button:last-child>.el-radio-button__inner {
                        border: none;
                        border-radius: 0;
                    }

                    .radioRroup{
                        width: calc(100% - 80px);
                        vertical-align: top;
                    }
                }
            }

            .resourcesList {
                list-style-type: none;
                margin-block-start: 0;
                margin-block-end: 0;
                padding-inline-start: 0;
                box-sizing: border-box;
                padding: 0 20px;
                margin: 30px 0;

                .resources {
                    box-sizing: border-box;
                    padding-bottom: 10px;
                    border-bottom: 1px solid #DCDFE6;
                    position: relative;
                    text-align: left;
                    margin-top: 20px;

                    .resourcesName {
                        font-size: 14px;
                        color: #303133;
                        cursor: pointer;

                        .officeType {
                            display: inline-block;
                            width: 25px;
                            height: 25px;
                            text-align: center;
                            line-height: 25px;

                        }

                        .offPPT {
                            border: 1px solid orange;
                            color: orange;
                        }

                        .offWORD {
                            border: 1px solid #46A3FF;
                            color: #46A3FF;
                        }

                        .offXLS {
                            border: 1px solid #67C23A;
                            color: #67C23A;
                        }

                        .resourcesType {
                            display: inline-block;
                            box-sizing: border-box;
                            padding: 2px 4px;
                            color: #409EFF;
                            border: 1px solid #409EFF;
                            margin: 0 10px;
                        }

                        label {
                            cursor: pointer;
                        }
                    }

                    .time {
                        box-sizing: border-box;
                        padding-left: 36px;
                        font-size: 14px;
                        color: #909399;
                        margin-top: 10px;

                        .downloadCount {
                            margin-left: 14px;
                        }
                    }

                    .downloadBtn {
                        position: absolute;
                        top: 18px;
                        right: 20px;
                        display: block;
                        width: 55px;
                        height: 25px;
                        font-size: 14px;
                        color: #409eff;
                        text-align: center;
                        line-height: 26px;
                        border: 1px solid #DCDFE6;
                        border-radius: 4px;
                        text-decoration: none;
                    }

                    .downloadBtn:hover {
                        background: #ecf5ff;
                        border-color: #b3d8ff;
                    }
                }
            }
        }


    }
</style>